package 多线程;

/**
 * @author chihb
 * @create-time 2024/7/6 21:33
 * @description
 */
public class MyThread extends Thread{
    public MyThread(String name){
        super(name);
    }
    @Override
    public void run() {
        for (int i = 0; i < 5; i++) {
            System.out.println("子线程运行"+i);
        }
    }
}
